<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.publisher.contrib.override">

  <require>org.nuxeo.ecm.platform.publisher.contrib</require>

  <extension point="treeInstance" target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl">

    <documentation>
      Contribute the default PublicationTree instance to be able to publish
      documents in local sections.
    </documentation>

    <publicationTreeConfig factory="CoreProxy" name="DefaultSectionsTree" title="label.publication.tree.local.sections" tree="RootSectionsCoreTree">
      <parameters>
        <!-- <parameter name="RootPath">/default-domain/sections</parameter> -->
        <parameter name="RelativeRootPath">/sections</parameter>
        <parameter name="enableSnapshot">true</parameter>
        <parameter name="iconExpanded">/icons/folder_open.gif</parameter>
        <parameter name="iconCollapsed">/icons/folder.gif</parameter>
      </parameters>
    </publicationTreeConfig>

  </extension>

</component>
